package com.tdk.bts.vo;

import java.util.Date;

import com.tdk.bts.constants.Constants;

public class BookVO {
	private String filmName;
	
	private Date startDay;
	
	private String time;
	
	private String theaterName;
	
	private int seatX;
	
	private int seatY;
	
	private int status;

	public String getFilmName() {
		return filmName;
	}

	public void setFilmName(String filmName) {
		this.filmName = filmName;
	}

	public void setStartDay(Date startDay) {
		this.startDay = startDay;
	}

	public void setTime(String time) {
		this.time = time;
	}
	
	public String getPublishTime()
	{
		return this.startDay + " " + this.time;
	}

	public String getTheaterName() {
		return theaterName;
	}

	public void setTheaterName(String theaterName) {
		this.theaterName = theaterName;
	}

	public String getSeat() {
		return seatX+1+"排" + (seatY+1) + "号";
	}

	public void setSeatX(int seatX) {
		this.seatX = seatX;
	}

	public void setSeatY(int seatY) {
		this.seatY = seatY;
	}

	public String getStatus() {
		return status == Constants.TICKET_NOT_GET ? "待取票" : "已取票" ;
	}

	public void setStatus(int status) {
		this.status = status;
	}
	
	
}
